<!--Created by IntelliJ IDEA.-->
<!--User: Markrui-->
<!--Date: 2016/3/12-->
<!--Time: 21:13-->
<!--To change this template use File | Settings | File Templates.-->
<!-- jQuery -->
</div>
<!-- /#wrapper -->
<script src="../../js/common.js"></script>
<script src="../../bower_components/jquery/dist/jquery.min.js"></script>

<!-- Bootstrap Core JavaScript -->
<script src="../../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../../bower_components/jquery-form/jquery.form.js"></script>

<script src="../../bower_components/datatables/media/js/jquery.dataTables.min.js"></script>
<script src="../../bower_components/datatables/media/js/dataTables.bootstrap.min.js"></script>

<!-- Metis Menu Plugin JavaScript -->
<script src="../../bower_components/metisMenu/dist/metisMenu.min.js"></script>

<!-- Morris Charts JavaScript -->
<script src="../../bower_components/raphael/raphael-min.js"></script>
<%--<script src="../../bower_components/morrisjs/morris.min.js"></script>--%>
<%--<script src="../../js/morris-data.js"></script>--%>

<!-- Custom Theme JavaScript -->
<script src="../../dist/js/sb-admin-2.js"></script>

<!--引入JS-->
<script type="text/javascript" src="../../webupload/js/webuploader.js"></script>

<script>
    var rootUrl = "http://localhost:8080/server/";
    $.ajax({
        url: rootUrl+'mng/user/loginstatus',
        type: 'get',
        dataType: 'json'
    })
    .success(function(data){
        if(data.state == 200 && data.data.loginstatus == true){
            //window.location.href = 'my.jsp';
        }else{
            window.location.href = 'login.jsp';
        }
    });
</script>
</body>

</html>
